﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BaseData.Infrastructure.DTO
{
    public class DeptDto
    {
        public int DeptId { get; set; }

        public int ParentId { get; set; }
        /// <summary>
        /// 部门名称
        /// </summary>
        public string? DeptName { get; set; }
        /// <summary>
        /// 状态
        /// </summary>
        public bool DeptState { get; set; } = true;
        /// <summary>
        /// 成员数量
        /// </summary>
        public int MemberCount { get; set; }
        /// <summary>
        /// 部门描述
        /// </summary>
        public string? DeptDescription { get; set; }
        /// <summary>
        /// 更新时间
        /// </summary>
        public DateTime? UpdDate { get; set; }
        /// <summary>
        /// 主管人员
        /// </summary>
        public int UserId { get; set; }
        /// <summary>
        /// 用户名
        /// </summary>
        public string? UserName { get; set; }
        public bool IsDel { get; set; } = false;
    }
}
